# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo10
# Description:
# Author:       98745
# Date:         2019/3/9
#-------------------------------------------------------------------------------

import time
lt=time.localtime(time.time())
print('本地时间为：',lt)
print('年','=',lt.tm_year)
print('月','=',lt.tm_mon)
print('日','=',lt.tm_mday)
print('一年的第 %d 天' % lt[7])
lt=time.asctime(time.localtime(time.time()))